﻿using Senparc.Weixin.MP.TenPayLibV3;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace WeixinPayService.Service
{
	public static class TenPayInfoRegister
	{
		public static TenPayV3Info Register()
		{
			//提供微信支付信息
            string tenPayV3_MchId = "1263655601";
            string tenPayV3_Key = "bianlichaoren173095960congcongcc";
            string tenPayV3_AppId = "wx08803c7a4c815e38";
            string tenPayV3_AppSecret = "a00a9157967872439da676d4278470f8";
            string tenPayV3_TenpayNotify = "http://wxvpay.superstore5000.com:5006/notify_url.php";
            //string tenPayV3_TenpayNotify = "http://wxvpay.superstore5000.com:5006/TenPayV3/PayNotifyUrl/";

			TenPayV3Info tenPayV3Info = new TenPayV3Info(tenPayV3_AppId, tenPayV3_AppSecret, tenPayV3_MchId, tenPayV3_Key,
												tenPayV3_TenpayNotify);
			TenPayV3InfoCollection.Register(tenPayV3Info);
			return tenPayV3Info;
		}
	}
}